﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MonopolyNOHI2015
{
    public class Dobbelsteen
    {
        private Random _random;
        private int _aantalOgen;

        public Dobbelsteen(Random random)
        {
            _random = random;
        }

        public int GetAantalOgen()
        {
            return _aantalOgen;
        }

        public void Gooi()
        {
            _aantalOgen = _random.Next(1, 7);
        }
    }
}
